package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-03-16
 */
@TableName("d_store_pay")
@Data
public class StorePay extends Model<StorePay> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 店铺id
     */
    @TableField("store_id")
    private Integer storeId;

    /**
     * 店铺名称
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 添加时间
     */
    @TableField("add_time")
    private Date addTime;

    /**
     * 支付时间
     */
    @TableField("pay_time")
    private Date payTime;

    @TableField("goods_amount")
    private BigDecimal goodsAmount;

    /**
     * 充值金额
     */
    @TableField("pay_amount")
    private BigDecimal payAmount;

    /**
     * 充值之后价格
     */
    @TableField("after_amount")
    private BigDecimal afterAmount;


    @TableField("status")
    private Integer status;


    @TableField("out_trade_no")
    private String outTradeNo;


    @TableField("transaction_id")
    private String transactionId;
}
